package com.eric.service;

import cn.dev33.satoken.util.SaResult;
import com.eric.domain.dto.PurchaseRequisitionDTO;
import com.mybatisflex.core.service.IService;
import com.eric.domain.po.PurchaseRequisition;

import java.util.List;

/**
 *  服务层。
 *
 * @author eric.deng
 * @since 2025-03-05
 */
public interface PurchaseRequisitionService extends IService<PurchaseRequisition> {

    SaResult saveOnePurchaseRequisition(PurchaseRequisitionDTO purchaseRequisitionDTO);

    SaResult updateOne(PurchaseRequisitionDTO purchaseRequisitionDTO);

   SaResult getListByPageService(Integer current,Integer pageSize);

    SaResult getListCountsService();
}
